﻿@{
    ViewBag.Title = "Login";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="container">
    <div class="row">
        <div class="span6" style="margin-top: 50px;">
            <h4>Đã có tài khoản? Đăng nhập</h4>
            <hr />
            @if (!String.IsNullOrEmpty(ViewBag.MSM))
            {
                <div class="alert alert-error">@ViewBag.MSM</div>
            }
            <form class="form-horizontal" action="/Account/Login" method="post">
                <div class="control-group">
                    <label class="control-label" for="account">Tài khoản</label>
                    <div class="controls">
                        <input type="text" id="account" placeholder="Tài khoản của bạn" name="account" required />
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label" for="password">Mật khẩu</label>
                    <div class="controls">
                        <input type="password" id="password" placeholder="Mật khẩu" name="password" required />
                    </div>
                    <div class="controls">
                        <input type="hidden" name="ref_url" value="@ViewBag.URL">
                    </div>
                </div>
                <div class="control-group">
                    <div class="controls">
                        <button type="submit" class="btn">Đăng nhập</button>
                        <a href="/Account/GetPassword">Quên mật khẩu?</a>
                    </div>
                </div>
            </form>
        </div>
        <div class="span6" style="margin-top: 50px;">
            <h4>Đăng kí tài khoản mới</h4>
            <hr />
            <form class="form-horizontal" action="/Account/Register" method="post">
                <div class="control-group">
                    <label class="control-label" for="reg_account">Tài khoản</label>
                    <div class="controls">
                        <input type="text" id="reg_account" placeholder="Tài khoản của bạn" name="reg_account" required>
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label" for="reg_name">Tên hiển thị</label>
                    <div class="controls">
                        <input type="text" id="reg_name" placeholder="Tài khoản của bạn" name="reg_name" required>
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label" for="reg_password">Mật khẩu</label>
                    <div class="controls">
                        <input type="password" id="reg_password" placeholder="Mật khẩu" name="reg_password" required>
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label" for="reg_email">Email</label>
                    <div class="controls">
                        <input type="email" id="reg_email" placeholder="Địa chỉ email" name="reg_email" required>
                    </div>
                </div>
                <div class="control-group">
                    <div class="controls">
                        <button type="submit" class="btn">Đăng kí</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<div class="container">
    <h4>Thanh toán</h4>
    <div class="row">
        @Html.Partial("_Payment")
    </div>
</div>
